module top(
   input  clk,
   input  rst_n,
   input  key,
   output  led
);


wire filter_key;

key_debounce u_key_debounce(
  .clk(clk),
  .rst_n(rst_n),
  .din(key),
  .dout(filter_key)
);

toggle_pin u_toggle_pin(
  .clk(clk),
  .rst_n(rst_n),
  .din(filter_key),
  .dout(led)
);


endmodule
